#ifndef __VSF_ARDUINO_H_INCLUDED__
#define __VSF_ARDUINO_H_INCLUDED__

#ifndef VSF_ARDUINO_CFG_STACKSIZE
#define VSF_ARDUINO_CFG_STACKSIZE		1024
#endif

struct vsf_arduino_t
{
	void (*setup)(void);
	void (*loop)(void);

	struct vsfsm_thread_t thread;
	uint8_t stack[VSF_ARDUINO_CFG_STACKSIZE];
};

vsf_err_t vsf_arduino_start(struct vsf_arduino_t *arduino);

#endif	// __VSF_ARDUINO_H_INCLUDED__
